from selenium import webdriver
import time
from webdriver_manager.chrome import ChromeDriverManager


# # 实例化页面驱动对象，使用本地驱动
# driver = webdriver.Chrome(executable_path=".\chromedriver.exe")

# 实例化页面驱动对象，自动解决浏览器依赖
driver = webdriver.Chrome(ChromeDriverManager().install())
time.sleep(5)
driver.quit()